Skip to content

Conversation

@asterwyx
Copy link
Contributor

Use VERSION file to manage DTK version. VERSION file defines package
version. It also decides the initial value of cached variable
DTK_VERSION which controls the project version in cmake build system.
VERSION file is not synchronized to DTK6, as DTK6 has its own VERSION
file. One can still pass version to DTK_VERSION when running cmake
configure. This is helpful for developers.

Signed-off-by: Yixue Wang wangyixue@uniontech.com

deepin-ci-robot added a commit to linuxdeepin/qt6platform-plugins that referenced this pull request Jun 16, 2025
Synchronize source files from linuxdeepin/qt5platform-plugins.

Source-pull-request: linuxdeepin/qt5platform-plugins#288
@asterwyx asterwyx requested review from 18202781743 and zccrs June 16, 2025 07:30
asterwyx added 3 commits June 16, 2025 16:58
Use VERSION file to manage DTK version. VERSION file defines package
version. It also decides the initial value of cached variable
DTK_VERSION which controls the project version in cmake build system.
VERSION file is not synchronized to DTK6, as DTK6 has its own VERSION
file. One can still pass version to DTK_VERSION when running cmake
configure. This is helpful for developers.

Signed-off-by: Yixue Wang <wangyixue@uniontech.com>
Signed-off-by: Yixue Wang <wangyixue@uniontech.com>
Linglong do not use this now.

Signed-off-by: Yixue Wang <wangyixue@uniontech.com>
deepin-ci-robot added a commit to linuxdeepin/qt6platform-plugins that referenced this pull request Jun 16, 2025
Synchronize source files from linuxdeepin/qt5platform-plugins.

Source-pull-request: linuxdeepin/qt5platform-plugins#288
@deepin-ci-robot
Copy link
Contributor

deepin pr auto review

代码审查意见:

  1. .github/workflows/call-auto-release.yml文件中,workflow_dispatchworkflow_callinputs部分重复了,可以提取成一个公共部分来减少代码重复。

  2. CMakeLists.txt文件中,读取VERSION文件并设置DTK_VERSION的方式是正确的,但是建议在读取文件时添加错误处理,以防文件不存在或读取失败。

  3. .reuse/dep5文件中,Files列表中新增了VERSION文件,但是没有对应的LicenseCopyright信息,需要补充完整。

  4. .syncexclude文件中,排除了VERSION文件,但是没有在.reuse/dep5文件中更新对应的Files列表,可能会导致版本信息无法正确同步。

  5. linglong.yaml文件被删除后,没有对应的更新或替换,可能会导致构建或部署过程中出现问题。

  6. 新增的VERSION文件和VERSION.in文件可能需要添加适当的注释或文档说明其用途和内容。

  7. CMakeLists.txt文件中,使用file(READ)读取文件内容并使用string(STRIP)去除首尾空白字符,这是一个好的做法,可以确保版本号的一致性。

  8. 整体来看,代码的改动主要集中在版本管理和自动化发布流程的改进,这些改动对于项目的版本控制和发布流程的自动化是有益的。但是,还需要确保这些改动不会对现有的构建和部署流程造成影响,并且需要测试新的版本管理和发布流程以确保其稳定性和可靠性。

@deepin-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: 18202781743, asterwyx, zccrs

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@zccrs zccrs merged commit 87ca335 into linuxdeepin:master Jun 16, 2025
18 of 20 checks passed
asterwyx pushed a commit to linuxdeepin/qt6platform-plugins that referenced this pull request Jun 18, 2025
Synchronize source files from linuxdeepin/qt5platform-plugins.

Source-pull-request: linuxdeepin/qt5platform-plugins#288
asterwyx pushed a commit to linuxdeepin/qt6platform-plugins that referenced this pull request Jun 18, 2025
Synchronize source files from linuxdeepin/qt5platform-plugins.

Source-pull-request: linuxdeepin/qt5platform-plugins#288
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants